Function: installjar

CALL:

terminateApplication=installjar(ALWAYS,jarNames) INPUT ALWAYS: (Optional) If true: always write classpath file (or javaclasspath file). If false only write file if it does not exist. jarNames: (Optional) Cell array that contains the names of required jar files. When omitted all files in jar directory are installed INTERPRETED MODE if no arguments are specified all jar files in the utility directory mbdutils\java are added to the static javaclasspath. Any specified jar files should be located in the directory "...\mbdutils\java" when ran in on Matlab path COMPILED MODE if no arguments are specified all jar files in the directory pwd\java are added to the static javaclasspath. Any specified files should be located in directory "pwd\java" OUTPUT terminateApplication: if true: terminate application (compiled mode) or terminate Matlab session (compiled mode)

DESCRIPTION:

Create a classpath.txt file.